﻿@model IQueryable<Model.gameAccount>

<link href="~/Content/css/MyOrders.css" rel="stylesheet" />
<style>
    .f-box {
        background: #ccc;
    }

    .ud,.shows {
        padding: 20px;
    }

    .on {
        display: block;
    }

    .close {
        display: none;
    }

    .ud span,.shows span {
        display: inline-block;
        margin-right: 20px;
    }

    .ud input,.shows input {
        height: 25px;
        margin-right: 50px;
    }

    .ud button,.shows button {
        float: right;
        border: 0;
        height: 30px;
        width: 65px;
        cursor: pointer;
    }
    .addb {
        height:30px;
        width:50px;
        background:#181c23;
        float:left;
        border-radius:2px;
        color:white;
        line-height:30px;
        text-align:center;
        cursor:pointer;
    }
</style>
<div class="addb">+ 添加</div>
<ul class="order-title order-b">
    <li>游戏名称</li>
    <li>服务器</li>
    <li>角色名</li>
    <li>修改</li>
    <li>删除</li>
</ul>
<div class="asd">
    @foreach (var item in Model)
    {
        <div class="orderitem">
            <ul class="order-b" id="@item.ID">
                <li>CS:GO</li>
                <li>@item.gameServe</li>
                <li>@item.playerName</li>
                <li class="update" style="cursor:pointer;" id="@item.ID" gs="@item.gameServe" gn="@item.playerName">修改</li>
                <li class="delete" id="@item.ID">删除</li>
            </ul>
        </div>
    }
</div>

<div class="f-box">
    <div class="shows close" id="0">
        <span>服务器</span><input type="number" min="1"  />
        <span>角色名</span><input />
    <input type="hidden" id="ac-id" value="" />
        <button user='@Session["UserID"]'>确认修改</button>
    </div>
</div>
<div class="f-box">
    <div class="ud close" id="0">
        <span>服务器</span><input type="number" min="1" />
        <span>角色名</span><input />
        <button user='@Session["UserID"]'>确认添加</button>
    </div>
</div>
